Problem in ECP | Error 500

Hi,

Recently we install Exchange Server 2013 CU7.

After rebooting the server, we cannot access the ECP. After login, give error 500.

OWA is working fine, as well as Exchange Power Shell.

Error 4 in Event Viewer > Application

"falhou com o seguinte erro:
System.Web.HttpUnhandledException (0x80004005): Tipo de excepo 'System.Web.HttpUnhandledException' accionado. ---> System.FormatException: Demasiados bytes no que deveria ter sido um Int32 codificado de 7 bits.
   em System.IO.BinaryReader.Read7BitEncodedInt()
   em System.Resources.ResourceReader.CompareStringEqualsName(String name)
   em System.Resources.ResourceReader.FindPosForResource(String name)
   em System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
   em System.Resources.RuntimeResourceSet.GetString(String key, Boolean ignoreCase)
   em System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   em Microsoft.Exchange.Data.Common.ExchangeResourceManager.GetStringInternal(String name, CultureInfo culture)
   em Microsoft.Exchange.Data.Common.ExchangeResourceManager.GetString(String name, CultureInfo culture)
   em Microsoft.Exchange.Management.ControlPanel.EcpGlobalResourceProvider.GetObject(String resourceKey, CultureInfo culture)
   em System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
   em System.Web.SiteMapNode.GetExplicitResourceString(String attributeName, String defaultValue, Boolean throwIfNotFound)
   em System.Web.SiteMapNode.get_Title()
   em Microsoft.Exchange.Management.ControlPanel.NavigationTreeNode..ctor(SiteMapNode siteMapNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
   em Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
   em System.Web.UI.Control.LoadRecursive()
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.HandleError(Exception e)
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest()
   em System.Web.UI.Page.ProcessRequest(HttpContext context)
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   em System.Web.UI.Page.HandleError(Exception e)
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest()
   em System.Web.UI.Page.ProcessRequest(HttpContext context)
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

System.FormatException: Demasiados bytes no que deveria ter sido um Int32 codificado de 7 bits.
   em System.IO.BinaryReader.Read7BitEncodedInt()
   em System.Resources.ResourceReader.CompareStringEqualsName(String name)
   em System.Resources.ResourceReader.FindPosForResource(String name)
   em System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
   em System.Resources.RuntimeResourceSet.GetString(String key, Boolean ignoreCase)
   em System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   em Microsoft.Exchange.Data.Common.ExchangeResourceManager.GetStringInternal(String name, CultureInfo culture)
   em Microsoft.Exchange.Data.Common.ExchangeResourceManager.GetString(String name, CultureInfo culture)
   em Microsoft.Exchange.Management.ControlPanel.EcpGlobalResourceProvider.GetObject(String resourceKey, CultureInfo culture)
   em System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
   em System.Web.SiteMapNode.GetExplicitResourceString(String attributeName, String defaultValue, Boolean throwIfNotFound)
   em System.Web.SiteMapNode.get_Title()
   em Microsoft.Exchange.Management.ControlPanel.NavigationTreeNode..ctor(SiteMapNode siteMapNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
   em Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
   em System.Web.UI.Control.LoadRecursive()
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.IO.BinaryReader.Read7BitEncodedInt()
   em System.Resources.ResourceReader.CompareStringEqualsName(String name)
   em System.Resources.ResourceReader.FindPosForResource(String name)
   em System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
   em System.Resources.RuntimeResourceSet.GetString(String key, Boolean ignoreCase)
   em System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   em Microsoft.Exchange.Data.Common.ExchangeResourceManager.GetStringInternal(String name, CultureInfo culture)
   em Microsoft.Exchange.Data.Common.ExchangeResourceManager.GetString(String name, CultureInfo culture)
   em Microsoft.Exchange.Management.ControlPanel.EcpGlobalResourceProvider.GetObject(String resourceKey, CultureInfo culture)
   em System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
   em System.Web.SiteMapNode.GetExplicitResourceString(String attributeName, String defaultValue, Boolean throwIfNotFound)
   em System.Web.SiteMapNode.get_Title()
   em Microsoft.Exchange.Management.ControlPanel.NavigationTreeNode..ctor(SiteMapNode siteMapNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
   em Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
   em Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
   em System.Web.UI.Control.LoadRecursive()
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Informaes de migrao: Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance, False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration, True],[Eac.AllowRemoteOnboardingMovesOnly, False],[Eac.BulkPermissionAddRemove, True],[Eac.CmdletLogging, True],[Eac.CrossPremiseMigration, False],[Eac.DevicePolicyMgmtUI, False],[Eac.DiscoveryDocIdHint, False],[Eac.DiscoveryPFSearch, False],[Eac.DiscoverySearchStats, False],[Eac.DlpFingerprint, False],[Eac.EACClientAccessRulesEnabled, False],[Eac.GeminiShell, False],[Eac.ManageMailboxAuditing, False],[Eac.ModernGroups, False],[Eac.Office365DIcon, False],[Eac.OrgIdADSeverSettings, False],[Eac.RemoteDomain, False],[Eac.UCCAuditReports, False],[Eac.UCCPermissions, False],[Eac.UnifiedAuditPolicy, False],[Eac.UnifiedComplianceCenter, False],[Eac.UnifiedPolicy, False],[Eac.UnlistedServices, False],],  Flights:[],  Constraints:[[LOC, PT-PT],[MACHINE, EXCH01],[MODE, ENTERPRISE],[PROCESS, W3WP],[USER, ADMINISTRADOR@],[USERTYPE, BUSINESS],], IsGlobalSnapshot: False"

Someone know what is the problem?

Sincerely,
Marcos Fernandes

January 30th, 2015 5:49pm

The first thing to check,

Are all app pools in IIS Manager started?

Free Windows Admin Tool Kit Click here and download it now
January 30th, 2015 6:06pm

Hi,

Yes they are. we have CAS and Mailbox on the same server. OWA is working ok for all user's and for Administrador to. I cant figured out what is the problem... Can you help me?

Sincerely,
MF

January 30th, 2015 9:34pm

Hi,

Please check on the Application Pools to view whether ECP Application Pool is running on .NET Framework v4.0. It maybe the incompletely installation of Framework that causes this error.

If so, We can try to run the following command as Administrator:

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

Or change the MSExchangeECPAppPool from .NET Framework from v4.0 to v2.0. Then restart IIS to have a try.

If this issue persists, please try to recreate ECP virtual directory to check this issue.

Recreate-ECP Virtual Directory:

Remove-EcpVirtualDirectory -Identity Servername\ecp (Default Web Site)

New-EcpVirtualDirectory -InternalUrl https://ServerFQDN/ecp -WebSiteName Default Web Site

Meanwhile, please look up into IIS log file to find any errors related to MSExchange on the Exchange 2013 Client Access Server, file path: c:\inetpub\logs\logfiles\W3SVC1.

Best Regards.

  • Edited by Lynn-Li 1 hour 58 minutes ago
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2015 4:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics